package com.fnfn.sdk.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@Configuration
@EnableAutoConfiguration
@EnableAsync
@MapperScan(basePackages = { "com.fnfn.sdk.api.dao" })
@EnableScheduling
public class Start {

    public static void main(String[] args) {
//        CrateApi.inc();

        SpringApplication springApplication = new SpringApplication(new Object[] { Start.class });
        springApplication.run(args);
    }
}
